package com.service.impl;

import com.mapper.LoginMapper;
import com.pojo.Empaccount;
import com.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional
public class LoginServiceImpl implements LoginService {
    @Autowired
    public LoginMapper mapper;
    @Override
    public List<Empaccount> find(Integer empno,String password) {
        return mapper.find(empno, password);
    }
}
